import java.util.Vector;

import org.junit.Assert;
import org.junit.Test;


public class ParseTest {
	
	@Test
	public void parseTest(){
		String input = "[배재돌이, 뚜비, 나나, 뽀]";
		input = input.replace("[", "");
		input = input.replace("]", "");
		
		String[] split = input.split(",");
		
		Vector<String> v = new Vector<String>();
		
		for (String string : split) {
			v.addElement(string);
		}
		
		Assert.assertNotNull(v);
		Assert.assertEquals(4, v.size());
	}

}
